package org.dingfugui.triple.rpc;

import java.io.Serializable;

/**
 * 消息体
 * Created by fugui.ding on 2015/3/22.
 */
public class Message implements Serializable {


    private String service;
    private String method;
    private Class<?>[] types;

    public Message() {
    }

    public Message(String service, String method, Class<?>[] types) {
        this.service = service;
        this.types = types;
        this.method = method;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Class<?>[] getTypes() {
        return types;
    }

    public void setTypes(Class<?>[] types) {
        this.types = types;
    }


}
